package ModelLayer;



public class Staff extends Person
{
    //instance variables
    private double salary;
    private String roles;
    
    /**
     * Empty constructor for testing purposes
     */
    
    public Staff()
    {
        salary = 0.0;
        roles = "";
    }
    
    /**
     * Constructor for object of class Staff
     */
    public Staff(double _salary, String _roles)
    {
        salary = _salary;
        roles = _roles;
    }
    
    /**
     * Accessor and Mutator methods
     */
    public void setSalary(double _salary)
    {
        salary = _salary;
    }
    
    public double getSalary()
    {
        return salary;
    }
    
    public void setRoles(String _roles)
    {
        roles = _roles;
    }
    
    public String getRoles()
    {
        return roles;
    }
    
}
